﻿using System;

namespace SmartFront.Toolkit.Core
{
    /// <summary>
    /// 
    /// </summary>
    public class DependencyResolutionLocatorKey
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="DependencyResolutionLocatorKey"/> class.
        /// </summary>
        /// <param name="type">The type.</param>
        /// <param name="id">The id.</param>
        public DependencyResolutionLocatorKey(Type type, string id)
        {
            this.Id = id;
            this.Type = type;
        }

        /// <summary>
        /// Gets or sets the id.
        /// </summary>
        /// <value>The id.</value>
        public string Id { get; set; }

        /// <summary>
        /// Gets or sets the type.
        /// </summary>
        /// <value>The type.</value>
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods")]
        public Type Type { get; set; }
    }
}
